package com.zenith.edu.po.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zenith.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("edu_teacher")
@Schema(name = "EduTeacher", description = "教师实体")
public class EduTeacher extends BaseEntity {
    
    @Schema(description = "系统用户ID")
    private Long userId;
    
    @Schema(description = "所属学校ID")
    private Long schoolId;
    
    @Schema(description = "工号/教工编号")
    private String employeeNo;
    
    @Schema(description = "职称：讲师、副教授等")
    private String title;
    
    @Schema(description = "入职日期")
    private LocalDate hireDate;
    
    @Schema(description = "状态：1-在职 2-离职")
    private Integer status;
}